/**
 * 
 */
package com.hs.pre.model;

import java.util.Map;

/**
 * @author shl
 *
 */
public class GatherEntry {
  private long gatherId = 0;//主键
  private String fangm = null;//方名
  private String biem = null;//别名
  private String chufly = null;//处方来源
  private String yaowzc = null;//药物组成
  private String jiaj = null;//加减
  private String gongx = null;//功效
  private String zhuz = null;//主治
  private String id = null;//编号
  private String zhibff = null;//制备方法
  private String yongfyl = null;//用法用量
  private String yongyjj = null;//用药禁忌
  private String lincyy = null;//临床应用
  private String yaolzy = null;//药理作用
  private String gejls = null;//各家论述
  private String beiz = null;//备注； 
  private Object params[] = null;
  private String fromIp = null;
  private String dataStatus = null;
  private String gatherDate = null;
  
  
public String getGatherDate() {
	return gatherDate;
}
public void setGatherDate(String gatherDate) {
	this.gatherDate = gatherDate;
}
public GatherEntry(Map data){
	if(null != data){
		this.beiz = data.get("beiz")+"";
		this.gejls = data.get("gejls")+"";
		this.yaolzy = data.get("yaolzy")+"";
		this.lincyy = data.get("lincyy")+"";
		this.yongyjj = data.get("yongyjj")+"";
		this.yongfyl = data.get("yongfyl")+"";
		this.zhibff = data.get("zhibff")+"";
		this.id = data.get("id")+"";
		this.zhuz = data.get("zhuz")+"";
		this.gongx = data.get("gongx")+"";
		this.jiaj = data.get("jiaj")+"";
		this.yaowzc = data.get("yaowzc")+"";
		this.chufly = data.get("chufly")+"";
		this.biem = data.get("biem")+"";
		this.fangm = data.get("fangm")+"";  
		params = new Object[]{this.fangm,this.biem,this.chufly,this.yaowzc,this.jiaj,this.gongx,this.zhuz,this.id,this.zhibff,
				this.yongfyl,this.yongyjj,this.lincyy,this.yaolzy,this.gejls,this.beiz};
	}
}
public GatherEntry() {
	// TODO Auto-generated constructor stub
}
public long getGatherId() {
	return gatherId;
}
public void setGatherId(long preId) {
	this.gatherId = preId;
}
public String getFangm() {
	return fangm;
}
public void setFangm(String fangm) {
	this.fangm = fangm;
}
public String getBiem() {
	return biem;
}
public void setBiem(String biem) {
	this.biem = biem;
}
public String getChufly() {
	return chufly;
}
public void setChufly(String chufly) {
	this.chufly = chufly;
}
public String getYaowzc() {
	return yaowzc;
}
public void setYaowzc(String yaowzc) {
	this.yaowzc = yaowzc;
}
public String getJiaj() {
	return jiaj;
}
public void setJiaj(String jiaj) {
	this.jiaj = jiaj;
}
public String getGongx() {
	return gongx;
}
public void setGongx(String gongx) {
	this.gongx = gongx;
}
public String getZhuz() {
	return zhuz;
}
public void setZhuz(String zhuz) {
	this.zhuz = zhuz;
}
public String getId() {
	return id;
}
public void setId(String id) {
	this.id = id;
}
public String getZhibff() {
	return zhibff;
}
public void setZhibff(String zhibff) {
	this.zhibff = zhibff;
}
public String getYongfyl() {
	return yongfyl;
}
public void setYongfyl(String yongfyl) {
	this.yongfyl = yongfyl;
}
public String getYongyjj() {
	return yongyjj;
}
public void setYongyjj(String yongyjj) {
	this.yongyjj = yongyjj;
}
public String getLincyy() {
	return lincyy;
}
public void setLincyy(String lincyy) {
	this.lincyy = lincyy;
}
public String getYaolzy() {
	return yaolzy;
}
public void setYaolzy(String yaolzy) {
	this.yaolzy = yaolzy;
}
public String getGejls() {
	return gejls;
}
public void setGejls(String gejls) {
	this.gejls = gejls;
}
public String getBeiz() {
	return beiz;
}
public void setBeiz(String beiz) {
	this.beiz = beiz;
}
public Object[] getParams() {
	return params;
}
public void setParams(Object[] params) {
	this.params = params;
}
public String getFromIp() {
	return fromIp;
}
public void setFromIp(String fromIp) {
	this.fromIp = fromIp;
}
public String getDataStatus() {
	return dataStatus;
}
public void setDataStatus(String dataStatus) {
	this.dataStatus = dataStatus;
}

} 
